#ifndef CHRONO_HPP
#define CHRONO_HPP
#include "GLHeaders.hpp"
#include <sys/time.h>

class Chrono{
public:
  // Constructor
	// At the begining Chrono is Desactivate
  Chrono(void);
  
	// Accessors
  GLfloat GetTime(void) const;
  bool IsActivate(void) const;
  
	// Mutators
  void Reset(void);
  int Activate(void);
  int Desactivate(void);

private :
  timeval startTime;
  GLfloat gap;
  bool activate;
};

#endif
